﻿namespace BERKORules.Entities
{
    using System;
using BerkoRules.Objects;

    [Serializable]
    public class Colores : ColoresObject, IMappeableColores, ICloneable
    {
        public Colores()
        {
        }

        public Colores(short col_ID)
        {
            base._col_ID = col_ID;
            this.Initialized();
        }

        public Colores(short col_ID, string col_Nombre)
        {
            base._col_ID = col_ID;
            base._col_Nombre = col_Nombre;
            this.Initialized();
        }

        object ICloneable.Clone()
        {
            Colores colores = (Colores) this.MemberwiseClone();
            if (base._OriginalValue != null)
            {
                Colores colores2 = (Colores) this.OriginalValue().MemberwiseClone();
                colores._OriginalValue = colores2;
            }
            return colores;
        }

        void IMappeableColores.CompleteEntity()
        {
        }

        public Colores OriginalValue()
        {
            return (Colores) base.OriginalValue();
        }

        void IMappeableColores.SetFKValuesForChilds(Colores entity)
        {
        }
    }
}

